package com.lagou;

import java.util.Arrays;

/**
 * @ Author     ：JYO
 * @ Date       ：Created in 16:02 2020-04-21
 * @ Description：
 * @ Modified By：
 * @Version: $
 */

public class RpcRequest{

    @Override
    public String toString() {
        return "RpcRequest{" +
                "requestId='" + requestId + '\'' +
                ", className='" + className + '\'' +
                ", methodName='" + methodName + '\'' +
                ", parameterTypes=" + Arrays.toString(parameterTypes) +
                ", parameters=" + Arrays.toString(parameters) +
                '}';
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getParameterTypes() {
        return parameterTypes;
    }

    public void setParameterTypes(Class<?>[] parameterTypes) {
        this.parameterTypes = parameterTypes;
    }

    public Object[] getParameters() {
        return parameters;
    }

    public void setParameters(Object[] parameters) {
        this.parameters = parameters;
    }

    /**

     * 请求对象的ID

     */

    private String requestId;

    /**

     * 类名

     */

    private String className;

    /**

     * 方法名

     */

    private String methodName;

    /**

     * 参数类型

     */

    private Class<?>[] parameterTypes;

    /**

     * 入参

     */

    private Object[] parameters;



    //getter/setter方法.....

}